package com.kgc.xs.remote;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.xs.pojo.CustomerSummary;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;

public interface SalesOrderSummaryRemote {

    //按客户汇总
    @RequestMapping("selectSummaryByCustomer")
    @ResponseBody
    ResponseMsg selectSummaryByCustomer(@RequestBody Map<String, Object> map);

    //按月份汇总
    @RequestMapping("selectSummaryByMonthTime")
    @ResponseBody
    ResponseMsg selectSummaryByMonthTime(@RequestBody Map<String, Object> map);

    //按年份汇总
    @RequestMapping("selectSummaryByYearTime")
    @ResponseBody
    ResponseMsg selectSummaryByYearTime(@RequestBody Map<String, Object> map);

    //
    @RequestMapping("getTotalSalesDataByDate")
    @ResponseBody
    ResponseMsg getTotalSalesDataByDate();

    //
    @RequestMapping("getSalesOutBoundDataByTime")
    @ResponseBody
    ResponseMsg getSalesOutBoundDataByTime();

    //
    @RequestMapping("getReceivableDataByTime")
    @ResponseBody
    ResponseMsg getReceivableDataByTime();

    //销售退货
    @RequestMapping("getSalesReturnDataByTime")
    @ResponseBody
    ResponseMsg getSalesReturnDataByTime();
}
